package cn.hua.trip.base.service;

import cn.hua.trip.base.domain.Travel;
import cn.hua.trip.base.domain.TravelContent;
import cn.hua.trip.base.query.TravelCommendQueryObject;
import cn.hua.trip.base.query.TravelQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ITravelService {

    PageInfo<Travel> queryForList(TravelQueryObject qo);

    void save(Travel travel);

    Travel get(Long id);

    void update(Travel travel);

    void changeState(Travel travel);

    TravelContent getContentById(Long travelId);

}
